﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace QunYing.BLL
{
    public partial class UserLoginInfo
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="strUserName">用户ID</param>
        /// <param name="strUserPwd">密码</param>
        /// <returns></returns>
        public ArrayList Login(string strUserName, string strUserPwd)
        {
            return dal.Login(strUserName, strUserPwd);
        }
        /// <summary>
        /// 更新登录时间
        /// <param name="strUserName">用户ID</param>
        /// </summary>
        public bool UpdateTime(string strUserName)
        {
            return dal.UpdateTime(strUserName);
        }

        /// <summary>
        /// 修改密码
        /// <param name="strUserName">用户ID</param>
        /// <param name="strNewPwd">密码</param>
        /// </summary>
        public bool UpdatePwd(string strUserName, string strNewPwd)
        {
            return dal.UpdatePwd(strUserName, strNewPwd);
        }
    }
}
